import 'package:flutter_module/common/utils/object_to_any.dart';

class ServiceObjectMo {
  bool? nativeSelect;
  String? dictCode;
  String? dictName;

  ServiceObjectMo({
      this.nativeSelect = false,
      this.dictCode, 
      this.dictName});

  ServiceObjectMo.fromJson(dynamic json) {
    nativeSelect = object2bool(json["nativeSelect"]);
    dictCode = json['dictCode'];
    dictName = json['dictName'];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map['nativeSelect'] = nativeSelect;
    map['dictCode'] = dictCode;
    map['dictName'] = dictName;
    return map;
  }

}